luci-base: jsdoc RangeSlider
authorPaul Donald <[email protected]>
Fri, 1 Aug 2025 13:33:40 +0000 (15:33 +0200)
committerPaul Donald <[email protected]>
Fri, 1 Aug 2025 13:33:40 +0000 (15:33 +0200)
Small correction.

Signed-off-by: Paul Donald <[email protected]>
modules/luci-base/htdocs/luci-static/resources/ui.js

index b7eff98d703a859e9025bcc958b466fd39ac7046..d58f9519a21dc3815b9e073a76b5cfcd7cdef0b9 100644 (file)
@@ -2685,8 +2685,9 @@ const UIRangeSlider = UIElement.extend({
         * @property {int} [max=100]
         * Specifies the maximum value of the range.
         *
-        * @property {int} [step=1]
-        * Specifies the step value of the range slider handle.
+        * @property {string} [step=1]
+        * Specifies the step value of the range slider handle. Use "any" for
+        * arbitrary precision floating point numbers.
         *
         * @param {function} [calculate=null]
         * A function to invoke when the slider is adjusted by the user. The function